package com.ssy.lingxi.platform.manage.service.content;

import com.ssy.lingxi.common.model.dto.UserLoginCacheDTO;
import com.ssy.lingxi.common.response.Wrapper;
import com.ssy.lingxi.platform.manage.entity.content.MemberCategory;
import com.ssy.lingxi.platform.manage.model.request.common.CommonIdRequest;
import com.ssy.lingxi.platform.manage.model.request.content.MemberCategoryRequest;
import com.ssy.lingxi.platform.manage.model.response.MemberCategoryResponse;

import java.util.List;

/**
 * 内容能力-分类管理
 * @author wyx
 * @version 2.0.0
 * @date 2021-09-28
 */
public interface IMemberCategoryService {

    Wrapper<List<MemberCategoryResponse>> all(UserLoginCacheDTO user);

    Wrapper<MemberCategory> get(CommonIdRequest request);

    Wrapper<Void> add(MemberCategoryRequest request, UserLoginCacheDTO user);

    Wrapper<Void> update(MemberCategoryRequest request, UserLoginCacheDTO user);

    Wrapper<Void> delete(CommonIdRequest request, UserLoginCacheDTO user);

    Wrapper<List<MemberCategoryResponse>> recommend(UserLoginCacheDTO user);
}
